package com.crm.crm.domain;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class RulePool {
    private Integer id;
    private Integer limitTime;
    private String limitTimeType;
    private Integer maxNunmber;
    private Integer repeatGetTime;
    private String repeatType;
    private String type;
    private Integer warnTime;
    private String warnTimeType;

    private String createBy;
    private String updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


}
